home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office deutch / INFOPATH.NL-NL / INFLR.CAB / FL_Addition___Operator_snippet_142744_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2005-10-28  |  1KB  |  30 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?>
  2. <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  3.   <CodeSnippet Format="1.0.0">
  4.     <Header>
  5.       <Title>Define an Addition Operator (+)</Title>
  6.       <Author>Microsoft Corporation</Author>
  7.       <Description>Defines the addition (+) operator on a class. </Description>
  8.       <Keywords>
  9.         <Keyword>operators</Keyword>
  10.         <Keyword>overloading operators</Keyword>
  11.         <Keyword>overloading</Keyword>
  12.       </Keywords>
  13.       <Shortcut>OpAdd</Shortcut>
  14.     </Header>
  15.     <Snippet>
  16.       <Declarations>
  17.          <Literal>
  18.           <ID>ClassName</ID>
  19.           <Type>
  20.           </Type>
  21.           <ToolTip>Replace with the name of the class you are implementing.</ToolTip>
  22.           <Default>MyClass</Default>
  23.         </Literal>
  24.       </Declarations>
  25.       <Code Language="VB" Kind="type decl"><![CDATA[Public Shared Operator +(ByVal class1 As $ClassName$, ByVal class2 As $ClassName$) As $ClassName$
  26.  
  27. End Operator]]></Code>
  28.     </Snippet>
  29.   </CodeSnippet>
  30. </CodeSnippets>